<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" import="java.util.*" %>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="css/wangEditor.css">
    <link rel="stylesheet" type="text/css" href="css/base.css">
    <link rel="stylesheet" type="text/css" href="css/profile.css">
    <link rel="stylesheet" type="text/css" href="css/recharge.css">
</head>
<body>
<%@ include file="header.jsp" %>

<div class="main w clearfix">
    <div class="m-left">
        <div class="user-image"><img src="${user.headUrl}"></div>
        <div class="user-info">
            <div class="user-name">${user.username}</div>
            <div class="user-desc">${user.description}</div>
            <div class="user-position">坐标：${user.position}</div>
            <div class="user-school">学校：${user.school}</div>
            <div class="user-job">工作：${user.job}</div>
            <div class="user-money">账户余额：${user.money}</div>
        </div>
        <div class="clearfix" style="border-bottom: 1px dashed #ddd;"></div>
        <div class="recharge-area">
            <div class="cur-money">
                <label class="user-money no-padding-right">当前余额：</label>
                <span class="form-control-static">${user.money}元</span>
            </div>
            <form action="goRecharge.do" method="post">
                <div class="money">预充值金额：&nbsp;
                    <input style="border: 1px solid; width: 200px" name="money" placeholder="这里输入要充值的金额(单位:元)" required>
                </div>
                <div class="relative">
                    <button class="recharge-submit" style="width: 80px; text-align: center;border-radius: 3px; background-color: #00B091; color: #fff;">微信充值</button>
                </div>
            </form>
        </div>
    </div>

    <div class="m-right">
        <div class="user-follow">
            <div class="user-follow">关注了<span class="user-count">${user.followCount}</span>人</div>
            <div class="user-follower">关注者<span class="user-count">${user.followerCount}</span>人
            </div>
        </div>
        <div class="user-attr">
            <span class="user-like-count">获赞：${user.likeCount}</span>&nbsp;
            <span class="user-post-count">发帖：${user.postCount}</span>

        </div>
        <div class="user-scan-count">个人主页被浏览${user.scanCount}次</div>
    </div>

</div>
<%@ include file="footer.jsp" %>
</body>
</html>
